﻿using Furion.DataValidation;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HiSport.Core.Entities
{
    public class BasePageInput
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        [DataValidation(ValidationTypes.Numeric)]
        public virtual int PageIndex { get; set; } = 1;

        /// <summary>
        /// 页码容量
        /// </summary>
        [DataValidation(ValidationTypes.Numeric)]
        public virtual int PageSize { get; set; } = 10;
    }
}
